package org.example.factory;

import org.example.entity.Connection;
import org.example.entity.Statement;
import org.example.entity.imple.MySQLConnection;
import org.example.entity.imple.MySQLStatement;

public class MySQLFactory implements DBFactory{
    @Override
    public Connection createConnection() {
        System.out.println("building MySQLConnection...");
        return new MySQLConnection();
    }

    @Override
    public Statement createStatement() {
        System.out.println("building MySQLStatement...");
        return new MySQLStatement();
    }
}
